home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-01-18 | 886 b | 34 lines |
- # MAKEFILE.MNX
- # MAKE FILE FOR UNIX SYSTEMS (MINIX)
- # add what optimizion options your system supports
- # on some systems there may be no setvbuf() or the code may generate
- # errors if the large buffer is used for the stream, if so :
- # add -DNO_SETVBUF (this is done in compress.h under #ifdef UNIX -Dal)
- # and if your system doesn't support either setvbuf or setbuf
- # add -DNO_SETBUF
- # add -DALLOC if your system uses alloc() instead of malloc()
- # add -DNOSIGNAL for faster processing on a unix pc
-
- CFLAGS=-DMINIX -DUNIX -DNDEBUG
-
- OFLAGS=
- LIB=
- PROG=compress
- OBJ=compress.o compusi.o compapi.o
- BIN=/usr/bin
-
- $(PROG): $(OBJ)
- cc -o $(PROG) $(OFLAGS) $(OBJ) $(LIB)
- chmem =400000 $(PROG)
-
- install:
- cp $(PROG) $(BIN)
- ln $(BIN)/$(PROG) $(BIN)/uncompress
- ln $(BIN)/$(PROG) $(BIN)/zcat
-
- compapi.o: compress.h
-
- compress.o: compress.h
-
- compusi.o: compress.h
-